package com.lingo.dingrobotutils.model.component;

/**
 * @file: com.lingo.dingRobot.common.model.msgBuilder.DingButtonOrientation
 * @Description: todo
 * @author: lingo
 * @version: v1.0
 * @date: 2020/3/23 11:29
 * @Company: www.xyb2b.com
 */

public enum DingButtonOrientation {
    VERTICAL(0,"竖直"),
    HORIZONAL(1,"水平")
    ;

    private final int code;
    private final String text;

    DingButtonOrientation(int code, String text) {
        this.code = code;
        this.text = text;
    }

    public int getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
